package seriable;

import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;

public class Salary implements Serializable{
	private static final long serialVersionUID = 1L;

	private double baseSalary;

	private double bound;

	public Salary(double baseSalary, double bound) {
		this.baseSalary = baseSalary;
		this.bound = bound;
	}
	public Salary(double baseSalary) {
		this.baseSalary = baseSalary;
	}

	public double getBaseSalary() {
		return baseSalary;
	}

	public void setBaseSalary(double baseSalary) {
		this.baseSalary = baseSalary;
	}

	public double getBound() {
		return bound;
	}

	public void setBound(double bound) {
		this.bound = bound;
	}
	
}
